]> dgit.raspbian.org Git - gnome-shell.git/commit
Fixes for GenericDisplay
authorColin Walters <walters@space-ghost.verbum.org>
Sat, 11 Jul 2009 16:26:36 +0000 (12:26 -0400)
committerColin Walters <walters@space-ghost.verbum.org>
Mon, 13 Jul 2009 15:01:49 +0000 (11:01 -0400)
commit2161e90cda3806c922b73049a8ce70618fbc4e6e
treed0f019daa1f9f845b8fab192d52ab25d912eb761
parentf7a82d6400180fcc614146573cbf92adc0c83780
Fixes for GenericDisplay

GenericDisplay wasn't quite completely converted to the ShellOverflowList
model.  Since the list now holds all actors, the indexing/wrapping
was incorrect.

Add a property which lets us keep track of how many items are displayed,
use this in genericDisplay.

Avoid setting selectedIndex to -2 when going up with no items.

If we're not displaying any results at all, don't attempt keynav (for now).
js/ui/genericDisplay.js
js/ui/overlay.js
src/shell-overflow-list.c
src/shell-overflow-list.h